package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

public interface DishService extends IService<Dish> {
    public void saveWithFlavor(DishDto dishDto);
    //根据id 获取Dto
    //id 菜品ID

    DishDto getByIdWithFlavor(Long id);
    //基于菜品ID，更新菜品及菜品口味列表
    void updateWithFlavor(DishDto dishDto);
}
